package com.hand.prantice.ssm.mapper;

import com.hand.prantice.ssm.domain.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 马旭阳
 * @date2019/7/16
 */
@Mapper
public interface RoleMapper {
    List<Role> queryAllRole();
    void insertRole(@Param("role") Role role);
    void deleteRole(@Param("id") Long id);
    void updateRole(@Param("id") Long id);

}
